import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.config.productionTip = false
import router from '@/router'
import mesBus from '@/mesBus'
import '@/router/routeFilter'
import moment from 'moment'

Vue.use(ElementUI)
Vue.use(() => {
  Vue.prototype.$mesBus = mesBus
})
Vue.use(() => {
  Vue.prototype.$moment = moment
})
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
